package com.cake.dao;

import com.cake.dao.base.IBaseDao;
import com.cake.entity.XxProductSpecificationKey;

public interface XxProductSpecificationMapper extends IBaseDao<XxProductSpecificationKey> {
	
    int deleteByPrimaryKey(XxProductSpecificationKey key);

    int insert(XxProductSpecificationKey record);

    int insertSelective(XxProductSpecificationKey record);
    
    /**
     * 通过商品id和规格id查询出中间表一行数据
     * @param xxProductSpecificationKey
     * @return
     */
    XxProductSpecificationKey selectByPrimaryTwoKey(XxProductSpecificationKey xxProductSpecificationKey);
}